package com.jic.market.service;

import com.jic.market.entity.PromotionEntity;
import com.jic.market.request.ProductOrderRestRequest;
import com.jic.market.response.ProductMarketProductResponse;
import com.jic.market.response.ProductMarketResponse;
import com.jic.market.response.rest.groupon.PostPayGroupInstDetailResponse;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * 订单确认下单数据计算接口
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-03 10:52:21
 */
public interface ProductOrderMarketService {

    /**
     * @Author: Puxigui
     * @param: productOrderRestRequest
     * @Description: 订单确认下单数据计算接口
     * @Date: 21:31 2020/11/28
    */
    ProductMarketResponse preOrder(ProductOrderRestRequest productOrderRestRequest);

    /**
     * @Author: Puxigui
     * @param: promotionEntity
     * @Description: 根据商品id，计算商品营销价格
     * @Date: 21:31 2020/11/28
     */
    ProductMarketProductResponse queryProductMarketById(Long productId, Integer num);
}